package com.jump.user.dao;

import com.jump.user.dto.User;
import org.springframework.stereotype.Repository;
import org.springframework.data.repository.CrudRepository;


/**
 * Created by fangxiao on 15/9/3.
 */

@Repository
public interface UserRepository  extends CrudRepository<User, Long> {

    public User findByUserName(String userName);

    public User findByMobile(String mobile);

    public User findByEmail(String email);




}
